Skip to content

Conversation

@spa-raj
Copy link
Contributor

@spa-raj spa-raj commented Dec 3, 2025

  • Blog post introducing Kubemodel - Opencost Data Model 2.0 which I worked on as part of my LFX Fall 2025 Mentorship.

@netlify
Copy link

netlify bot commented Dec 3, 2025

Deploy Preview for opencost ready!

Name Link
🔨 Latest commit 0086649
🔍 Latest deploy log https://app.netlify.com/projects/opencost/deploys/6938374e0a7a7a0008d5c332
😎 Deploy Preview https://deploy-preview-441--opencost.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@ameijer ameijer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

general feedback - this is a tech blog post, I suggest you embed code snippets of a few selected data structures and walk the users through it. EMbed in places like the o(1) discussions etc


These tests run across multiple time windows (1h, 6h, 24h) to ensure consistency and catch edge cases in real-world scenarios.

## The Road Ahead
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this section feel very AI-ish. Nothing in here is regarding what you think the next steps are, just what has already been accomplished, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I will remove the integration tests section.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, I meant this "the road ahead" section. this implies you are calling out things that need to be done... but the stuff in the list has all been done

Copy link

@Sean-Holcomb Sean-Holcomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work Sparsh!

Comment on lines 103 to 108
1. **Core resource types and KubeModelSet** - The fundamental data structures
2. **UID support across all metrics** - Stable resource identification
3. **Binary serialization pipeline** - Efficient storage and transmission
4. **ResourceQuota integration** - Tracking namespace-level resource constraints
5. **Comprehensive integration tests** - Ensuring reliability at scale
6. **S3 storage support** - Storing compressed KubeModel entries in S3 for scalable, durable, and cost-effective long-term data retention
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ameijer I think 4,5,6 are still pending, right? I will move 1,2,3 to a "Implemented so far section"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair enough

@ameijer ameijer merged commit a48f258 into opencost:main Dec 9, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants